home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #2
/
Monster Media No. 2 (Monster Media)(1994).ISO
/
prog_bas
/
vbapi.zip
/
VBAPIAST.TXT
< prev
Wrap
Text File
|
1994-05-13
|
4KB
|
87 lines
VB API ASSISTANT
Copyright 1994 by Brian W. Fry
All Rights Reserved
CIS: 70732,1327
Address: 213 Fox Run, Huntington CT. 06111
Phone: Day: 203-280-3967; evening 203-926-9226
VB API Assistant provides a convenient means of copying
and pasting Windows API Functions (and Subs), Constants, and
Types (Structures) into your VB program. It makes use of text
files you specify for obtaining this info - since the
professional edition of VB comes w/ files containing these
definitions, I have not supplied them for the sake of
minimizing download time. However, if you require such files
I will be glad to provide you w/ my version. I have broken the
defintions/declarations into three files: one for Functions,
one for Constants, and one for Types (structures). The basic
version comes w/ a Constants.txt file that contains Constants
used w/ VB - this file may also be used. In Fact, Any text
file can be searched for these definitions.
The first time you use the program, you will need to specify
the files you wish to use as sources. You can use a separate
file for each option (Constant, Functions, Types) as I do; Or
you may use a single large file such as is shipped w/ the VB
Pro edition. After this you will not have to specify a source
file unless you want to change it.
Your default source text files can be changed at any time by
using the appropriate option button in conjunction w/ the
File/Load menu.
Use is simple: simply select the constants, functions, types
that you want to include in your VB program; add them to the
right list box, select the target file and click the Copy to
VB button. Done. You may copy all your functions to the
target list box, select the constants option button, add all
your desired constants to the target list box, etc. before
you copy to VB. A bulk process.
Typical Windows multiple selection processes are supported w/i
the list boxes. Double clicking on a single selection will
either add or remove the selection depending on whether the
selection is in the source or target list box.
Also incorporated is the use of a hotkey to copy single
declarations etc. directly; i.e., you can keep APIASST
minimized while you are working in VB. If you forget to
declare a constant, simply highlite it and use the hotkey
combination to copy the required info into VB w/o leaving your
project.
********************************************************
Please feel free to utilize the bfVBHLPR.DLL in any of your
projects -- I have included a BAS file (bfVBHLPR.BAS) containing
the declarations for each available function. It includes
obtaining 32bit pointers to VB and user defined data types,
getting a VB String from a Null terminated string (LPSTR),
separate a DWORD (long) into it's LOWORD / HIWORD, combine two
integers to form a DWORD, obtain an integer value from a 32bit
pointer to an integer, obtain free, used, and/or total space of
a disk.
Experiment w/ it.
********************************************************
********************************************************
INSTALLATION
No Setup is included to minimize download time. But install is
a snap. Just copy bfVBHLPR.DLL and bfHOTKEY.DLL to your
windows\system subdirectory and add the APIASST.EXE to a
program manager group. That's it. The default HOTKEY is
Ctrl+Shift+F5.
********************************************************
If you have any questions, comments, suggestions, or require
source files for the API declarations, please contact me via
CompuServe Mail. My ID is at the beginning of this file and
may also be accessed from the About menu in the program.
Hope it is of use.